<?php
namespace app\common\model;
use think\Model;

class Region extends Model
{
    protected $table = 'region';

    public static function getListByPid($pid = 0)
    {
        $list = self::where('pid', $pid)->select();
        return $list;
    }
}